<?php

/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/

Route::get('/', function () {
    return view('welcome');
});

//验证码路由
Route::get('text/captcha','TestController@captcha');
Route::post('text/checkCaptcha','TestController@checkCaptcha');
Route::get('text/xmldata','TestController@xmldata');
Route::get('text/xml','TestController@xml');